extends ../../layout/layout

block content
  .content-wrapper
    form#form-pull
      .d-header 基础设置
      .form-row.form-row-sm.marginT10
        .form-text
          //- span.red *
          span 是否启用：
        .form-container.form-inline
          label.marginR10
            input(type="radio", name="status" value="101")
            | &ensp;是
          label.marginR10
            input(type="radio", name="status" value="102")
            | &ensp;否
      .d-header 新人策略

      .new-way
        ul#new-list
          //- li.form-inline
          //-   label
          //-     input(type="checkbox" name="couponId")
          //-     span.text 这里是优惠券名称
          //-   input.form-control.form-width70(name="couponQty")
          //-   span.text 张

      .d-header 拉新者策略
      .form-row.form-row-sm.marginT10
        .form-text
          //- span.red *
          span 每次领用赠送：
        .form-container.form-inline
          select.form-control.form-width120.marginR10#coupon-sel(name="couponId")
          input.form-control.form-width70(name="couponQty" disabled)
          span.text 张
      .form-row.form-row-sm.marginT10
        .form-text
          //- span.red *
          span 累计拉新策略启用：
        .form-container.form-inline
          label.marginR10
            input(type="radio", name="strategyStatus" value="1")
            | &ensp;是
          label.marginR10
            input(type="radio", name="strategyStatus" value="0")
            | &ensp;否
      .form-row.form-row-sm.marginT10.hide#strategy-box
        .form-text
          //- span.red *
          span 累计拉新配置：
        .form-container
          ul#sum-list
            //- li.form-inline
            //-   input.form-control.form-width70.item-sum.error
            //-   span.text.marginR10 人
            //-   select.form-control.form-width120.marginR10.item-coupon.error(name="couponId")
            //-   input.form-control.form-width70.item-quantity.error
            //-   span.text.marginR10 张
            //-   button.btn.btn-default.del-sum-item(type="button" disabled)
            //-     i.fa.fa-trash-o
            //-     span 删除
          button.btn.btn-default.marginT10.add-sum-item(type="button")
            i.fa.fa-plus
            span 新增

      .d-header 其他设置
      .form-row.form-row-sm.marginT10
        .form-text
          span 说明/备注：
        .form-container.form-inline
          textarea.form-control.form-width400.marginR10(name="remark" placeholder="请输入备注信息")

      .op-info
        span 最后修改人：
        span(data-updateId)
        span &emsp;&emsp;修改时间：
        span(data-updateTime)

      .op-save
        button.btn.btn-primary.marginR10#btn-save(type="button")
          i.fa.fa-save
          span 保存
        //- button.btn.btn-default#btn-save(type="reset")
        //-   //- i.fa.fa-save
        //-   span 重置


block vendor_css
  //- link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")

block vendor_js
  //- script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  //- script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  //- script(src="../../vendor/laydate/laydate.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.extend.js")

block self_js
  script(src="../../js/module/marketing/pull.js")

block self_css
  link(rel="stylesheet", type="text/css",href="../../css/marketing/pull.css")
